package com.mysteel.ware.feign;

import com.mysteel.ware.vo.OrderVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * ProjectName: mail
 * ClassName: OrderFeignService
 * Description:
 * date: 2021/03/30/030 19:13
 *
 * @author xiaochao
 */
@FeignClient("order")
public interface OrderFeignService {
    /**
     * 获取订单数据远程接口
     * @param orderSn
     * @return
     */
    @RequestMapping("/order/order/orderSn")
    OrderVo getOrderByOrderSn(@RequestParam("orderSn") String orderSn);
}
